package cn.iocoder.yudao.module.product.category.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Collection;

@Schema(description = "用户 APP - 产品分类 Request VO")
@Data
public class AppProductCategoryListReqVO {

    @Schema(description = "店铺编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "店铺编号不能为空")
    private Long shopId;

    @Schema(description = "父分类编号", example = "1")
    private Long parentId;

    @Schema(description = "父分类编号数组", example = "1,2,3")
    private Collection<Long> parentIds;

    @Schema(description = "是否包含所有下级分类", example = "false")
    private Boolean allChildren;

}
